import Layout from '@/layout'
const router = {
  path: '/system',
  component: Layout,
  redirect: '/system/data',
  name: 'system',
  alwaysShow: true,
  meta: {
    type: 'S',
    roles: ['92', '9210', '9220', '9230', '9240'],
    title: '系统管理',
    icon: 'setting'
  },
  children: [{
    path: 'log',
    component: () => import('@/views/monitor/operlog/index'),
    name: 'logData',
    meta: {
      type: 'S',
      roles: ['9210'],
      title: '日志管理'
    }
  }, {
    path: 'param',
    component: () => import('@/views/system/paramData'),
    name: 'paramData',
    meta: {
      type: 'S',
      roles: ['9220'],
      title: '参数管理'
    }
  }, {
    path: 'dic',
    component: () => import('@/views/system/dicData'),
    name: 'dicData',
    meta: {
      type: 'S',
      roles: ['9230'],
      title: '字典管理'
    }
  }, {
    path: 'notice',
    component: () => import('@/views/system/noticeData'),
    name: 'Notice',
    meta: {
      type: 'S',
      roles: ['9240'],
      title: '通知公告'
    }
  }]
}

export default router
